#include <bits/stdc++.h>
using namespace std;
#define int long long
typedef pair<int, int> pii;
//priority_queue<int, vector<int>, greater<int>> pq;

signed main() {
    int n, k;
    cin >> n >> k;
    string s;
    cin >> s;
    for(int i = n - 1; i>= 0; i--) {
        if(k == 0) break;
        if(s[i] == '@') k--;
    }
    cout << s << endl;
    return 0;
}